#include <iostream>
using namespace std;

int main()
{
    int row = 1;
    int column = 1;
    for (row=1; row<=9; row++)
    {
        for(column=1; column<=row; column++)
        {
            cout << column << " X " << row <<" = " << column*row;
            if (column!=row)
            {
                cout << "\t";
            }
            else
            {
                cout << endl;
            }
        }
        
    }
    return 0;
}